package com.game.hot;

import com.dats.hot.HotSwapI;
import com.game.data.DataI;
import com.game.data.DataMg;
import com.game.heartbeat.HeartbeatI;
import com.game.heartbeat.HeartbeatMg;
import com.game.id.IdI;
import com.game.id.IdMg;
import com.game.init.InitI;
import com.game.init.InitMg;
import com.game.load.LoadI;
import com.game.load.LoadMg;
import com.game.packet.PacketI;
import com.game.packet.PacketMg;
import com.game.role.RoleI;
import com.game.role.RoleMg;
import com.game.time.TimeI;
import com.game.time.TimeMg;

/**
 * @author sig
 * @since 2016/9/24
 */
public class Manager {
    private static HeartbeatI heartbeatMg = new HeartbeatMg();

    public static HeartbeatI getHeartbeatMg() {
        return heartbeatMg;
    }

    public static void setHeartbeatMg(HotSwapI hotSwap) {
        heartbeatMg = (HeartbeatI) hotSwap;
    }

    private static PacketI packMg = new PacketMg();

    public static PacketI getPackMg() {
        return packMg;
    }

    public static void setPackMg(HotSwapI hotSwap) {
        packMg = (PacketI) hotSwap;
    }

    private static HotTestI hotTestMg = new HotTestMg();

    public static HotTestI getHotTestMg() {
        return hotTestMg;
    }

    public static void setHotTestMg(HotSwapI hotSwap) {
        hotTestMg = (HotTestI) hotSwap;
    }

    private static DataI dataMg = new DataMg();

    public static DataI getDataMg() {
        return dataMg;
    }

    public static void setDataMg(HotSwapI hotSwap) {
        dataMg = (DataI) hotSwap;
    }

    private static IdI idMg = new IdMg();

    public static IdI getIdMg() {
        return idMg;
    }

    public static void setIdMg(HotSwapI hotSwap) {
        idMg = (IdI) hotSwap;
    }

    private static InitI initMg = new InitMg();

    public static InitI getInitMg() {
        return initMg;
    }

    public static void setInitMg(HotSwapI hotSwap) {
        initMg = (InitI) hotSwap;
    }

    private static LoadI loadMg = new LoadMg();

    public static LoadI getLoadMg() {
        return loadMg;
    }

    public static void setLoadMg(HotSwapI hotSwap) {
        loadMg = (LoadI) hotSwap;
    }

    private static TimeI timeMg = new TimeMg();

    public static TimeI getTimeMg() {
        return timeMg;
    }

    public static void setTimeMg(HotSwapI hotSwap) {
        timeMg = (TimeI) hotSwap;
    }

    private static RoleI roleMg = new RoleMg();

    public static RoleI getRoleMg() {
        return roleMg;
    }

    public static void setRoleMg(HotSwapI hotSwap) {
        roleMg = (RoleI) hotSwap;
    }
}
